package com.example.dynamicschedule.dao;

import com.example.dynamicschedule.bean.CkCreditRecoverMoney;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface CkCreditRecoverMoneyMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CkCreditRecoverMoney record);

    int insertSelective(CkCreditRecoverMoney record);

    CkCreditRecoverMoney selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CkCreditRecoverMoney record);

    int updateByPrimaryKey(CkCreditRecoverMoney record);

    void insertForEach(List<CkCreditRecoverMoney> ckOrderLoanLoads);

    List<String> selectByidentificationNumbers(
          @Param("batchNumber") String likeBatchNumber,
          @Param("cardNums")  List<String> cardNums);

    List<CkCreditRecoverMoney> selectByCardNumbersAndBatchNumber(Map<String, Object> params);
}